package org.dru.clay.rhino.feature;

import org.dru.clay.rhino.feature.files.Files;
import org.dru.clay.rhino.feature.googlecode.GoogleCode;
import org.dru.clay.rhino.feature.ivy.Ivy;
import org.dru.clay.rhino.feature.shell.Shell;
import org.dru.clay.rhino.feature.zip.Zip;

/**
 * Features
 * User: joakimd
 * Date: 2013-07-17
 * Time: 13:16
 */
public enum Features {
    air(new BasicFeature("air/Air.js")),
    file(new Files()),
    flex(new BasicFeature("flex/Flex.js")),
    googlecode(new GoogleCode()),
    ivy(new Ivy()),
    jar(new BasicFeature("jar/Jar.js")),
    java(new BasicFeature("java/Java.js")),
    shell(new Shell()),
    zip(new Zip())
    //
    ;

    private Feature feature;

    private Features(final Feature feature) {
        this.feature = feature;
    }

    public Feature get() {
        return feature;
    }
}
